//
//  WKPopView.h
//  danpin
//
//  Created by chuangjia on 11/9/15.
//  Copyright (c) 2015 chuangjia. All rights reserved.
//

#import <UIKit/UIKit.h>
/**
 *  @Author wang kun
 *
 *  点击样式
 */
typedef NS_ENUM(NSInteger, WindowClick1){
    /**
     *  @Author wang kun
     *
     *  点击确定按钮
     */
    WindowClickForOK1 = 0,
    /**
     *  @Author wang kun
     *
     *  点击取消按钮
     */
    WindowClickForCancel1
};
typedef void (^callBack1)(WindowClick1 buttonIndex);

@interface WKPopView : UIWindow
@property (nonatomic, copy) callBack1 clickBlock ;//按钮点击事件的回调

+ (instancetype)shared;
//默认样式创建AlertView
+ (instancetype)showAlertViewWithTitle:(NSString *)title subTitle:(NSString*)subtitle callBlock:(callBack1)callBack;
@end
